package com.mvc.security.web;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

import com.mvc.framework.service.PageManager;
import com.mvc.framework.web.PageController;
import com.mvc.security.model.Operation;
import com.mvc.security.service.OperationManager;
@Controller
@RequestMapping("/opera")
public class OperationController extends PageController<Operation>{
	@Autowired
	private OperationManager operationManager;

	@Override
    public PageManager<Operation> getEntityManager() {
	    return operationManager;
    }

	@Override
    public String getFileBasePath() {
	    return "security/";
    }

}
